//
//  Order.h
//  Menu
//
//  Created by trimad on 11-11-11.
//  Copyright 2011 Trimad Group. All rights reserved.
//

#import <Foundation/Foundation.h>

@class OrderItem;

@interface Order : NSObject {
	// 为订单加入备注等信息。
	NSString *note;
	NSArray *orderItems;
}

@property (nonatomic, retain) NSString *note;
@property (nonatomic, retain) NSArray *orderItems;

/* 用updateOrderItem来概括add和remove功能 */
-(void)updateOrderItem:(OrderItem *)orderItem;
-(OrderItem *)getOrderItem:(NSString *)itemCode;
-(OrderItem *)removeOrderItem:(NSString *)itemCode;
@end
